﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Public/Public.Master" AutoEventWireup="true" CodeBehind="Contact.aspx.cs" Inherits="NhanAi.Public.Contact" %>

<%@ Register TagPrefix="recaptcha" Namespace="Recaptcha" Assembly="Recaptcha" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title> <asp:Literal runat="server" ID="litHeadTitle" Text="<%$ Resources: HmLanguage,contact %>"></asp:Literal></title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h2 class="category-title">
        <asp:Literal ID="litTitle" runat="server" Text="<%$ Resources: HmLanguage, contact %>"></asp:Literal></h2>
    <form id="Form1" runat="server">
        <asp:Label ID="lblResult" runat="server" CssClass="error" />
        <br />
        <table class="form-table">
            <tr>
                <td class="required">
                    <asp:Literal runat="server" ID="litLabel1" Text="<%$ Resources: HmLanguage,title %>"></asp:Literal></td>
                <td>
                    <asp:TextBox ID="txtTitle" runat="server" CssClass="inp-form"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtTitle" ErrorMessage="*"></asp:RequiredFieldValidator>
                </td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:Literal runat="server" ID="Literal1" Text="<%$ Resources: HmLanguage,fullname %>"></asp:Literal></td>
                <td>
                    <asp:TextBox ID="txtFullname" CssClass="inp-form" runat="server"></asp:TextBox>
                </td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td class="required">Email</td>
                <td>
                    <asp:TextBox ID="txtEmail" CssClass="inp-form" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtEmail" ErrorMessage="*"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail" ErrorMessage="Invalid email" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                </td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:Literal runat="server" ID="Literal3" Text="<%$ Resources: HmLanguage,phone %>"></asp:Literal></td>
                <td>
                    <asp:TextBox ID="txtPhone" runat="server" CssClass="inp-form"></asp:TextBox>
                </td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td class="required">
                    <asp:Literal runat="server" ID="Literal2" Text="<%$ Resources: HmLanguage,content %>"></asp:Literal></td>
                <td>
                    <asp:TextBox ID="txtContent" CssClass="textarea"  runat="server" TextMode="MultiLine"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtContent" ErrorMessage="*"></asp:RequiredFieldValidator>
                </td>
                <td>&nbsp;</td>
            </tr>
            <tr class="required">
                <td>
                    <asp:Literal runat="server" ID="Literal4" Text="<%$ Resources: HmLanguage,captcha %>"></asp:Literal></td>
                <td>
                    <recaptcha:RecaptchaControl
                        ID="recaptcha"
                        runat="server"
                        Theme="red"
                        PrivateKey="6LcO6esSAAAAAHXZAXlpq4mOVDXufQaBf_s-fdLQ"
                        PublicKey="6LcO6esSAAAAAKYTM8AMaWLqBDWV2MR4Xj-0sJqT" />
                </td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <asp:Button ID="btnSubmit" CssClass="button" runat="server" Text="<%$Resources: HmLanguage, submit %>" OnClick="btnSubmit_Click" /></td>
                <td></td>
            </tr>
        </table>


    </form>
</asp:Content>
